package com.gydz.gydzbaseframeworkboot.CsdE.service.impl;

import com.gydz.gydzbaseframeworkboot.Common.utils.FieldConverter;
import com.gydz.gydzbaseframeworkboot.CsdE.dao.EInterfaceCsdCallRecMapper;
import com.gydz.gydzbaseframeworkboot.CsdE.domain.EInterfaceCsdCallRec;
import com.gydz.gydzbaseframeworkboot.CsdE.service.IEInterfaceCsdCallRecService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EInterfaceCsdCallRecServiceImpl implements IEInterfaceCsdCallRecService {

    @Autowired
    private EInterfaceCsdCallRecMapper eInterfaceCsdCallRecMapper;

    @Override
    public List<EInterfaceCsdCallRec> selectEInterfaceCsdCallrecList(EInterfaceCsdCallRec eInterfaceCsdCallRec) {
        List<EInterfaceCsdCallRec> list = eInterfaceCsdCallRecMapper.selectEInterfaceCsdCallrecList(eInterfaceCsdCallRec);
        FieldConverter.convertMinusOneToNull(list);
        return list;
    }
}
